package com.anti.modular.sys.role.entity;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 系统角色数据范围表
 *
 * @author xuyuxiang
 * @date 2020/3/11 11:47
 */
@Data
@Entity
@Table(name="sys_role_data_scope")
public class SysRoleDataScope {

    /**
     * 主键
     */
    @Id
    private Long id;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 机构id
     */
    private Long orgId;
}
